package com.xja.service.impl;

import com.xja.mapper.UserBlogDataMapper;
import com.xja.pojo.UserBlogDate;
import com.xja.pojo.UserProfitData;
import com.xja.service.UserBlogDataService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @作者:褚
 * @工程名:xja_blog
 * @方法:UserBlogDataServiceImpl
 * @创建时间:2022/4/24 19:39
 */
@Service
public class UserBlogDataServiceImpl implements UserBlogDataService {
    @Autowired
    private UserBlogDataMapper userBlogDataMapper;
    @Override
    public List<UserBlogDate> getUserBlogData(Integer uid) {
        return userBlogDataMapper.getUserBlogData(uid);
    }

    @Override
    public List<UserProfitData> getUserProfitData(Integer uid) {
        return userBlogDataMapper.getUserProfitData(uid);
    }
}
